#include <iostream>
#include <map>
#include <string>

int main()
{
    std::multimap<int, std::string> m;
    m.insert({1, "zhangsan"});
    m.insert({1, "lisi"});
    m.insert({1, "wangwu"});
    for (auto ite = m.begin(); ite != m.end(); ite++)
    {
        std::cout << ite->first << " " << ite->second << std::endl;
    }
    return 0;
}